From: Richard M. Stallman Date: Wed, 24 Mar 1993 10:05:49 +0000 (+0000) Subject: (push_key_description): Ignore bits above meta_modifier. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96717 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=71ac885b6f75112439aa1ab680f80055ecfa76f7;p=emacs.git (push_key_description): Ignore bits above meta_modifier. --- diff --git a/src/keymap.c b/src/keymap.c index 11a48e2c235..2be4b81d841 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -1139,6 +1139,9 @@ push_key_description (c, p) register unsigned int c; register char *p; { + /* Clear all the meaningless bits above the meta bit. */ + c &= meta_modifier | ~ - meta_modifier; + if (c & alt_modifier) { *p++ = 'A';